package com.giscloud.generator.dao;

import com.giscloud.generator.entity.DatabaseEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author:giscloud
 * @Description:
 * @Date: 14:24 2019/11/21
 * @Modified By:
 */
public interface DatabaseDao {
    List<DatabaseEntity> listDatabases(Map<String, Object> map);

    List<Map<String, Object>> selectDatabases1();

    List<Map<String, Object>> selectDatabases();


    int update(@Param("record") DatabaseEntity databaseEntity);

    int insert(DatabaseEntity databaseEntity);

    int delete(long[] ids);
}
